package com.ruoyi.message.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 信息对象 message
 * 
 * @author ruoyi
 * @date 2025-01-09
 */
public class Message extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 信息id */
    private Long messageId;

    /** ai对话id */
    private String aiConversationId;

    /** 信息内容 */
    @Excel(name = "信息内容")
    private String messageContent;

    /** 发送者 */
    @Excel(name = "发送者")
    private String sender;

    public void setMessageId(Long messageId) 
    {
        this.messageId = messageId;
    }

    public Long getMessageId() 
    {
        return messageId;
    }
    public void setAiConversationId(String aiConversationId)
    {
        this.aiConversationId = aiConversationId;
    }

    public String getAiConversationId()
    {
        return aiConversationId;
    }
    public void setMessageContent(String messageContent) 
    {
        this.messageContent = messageContent;
    }
    public String getMessageContent() 
    {
        return messageContent;
    }
    public void setSender(String sender) 
    {
        this.sender = sender;
    }

    public String getSender() 
    {
        return sender;
    }

    @Override
    public String toString() {
        return "Message{" +
                "messageId=" + messageId +
                ", aiConversationId='" + aiConversationId + '\'' +
                ", messageContent='" + messageContent + '\'' +
                ", sender='" + sender + '\'' +
                '}';
    }
}
